package com.github.common.bean;

import java.io.Serializable;
import java.util.List;

/**
 * <p>User: Mu Yunlong
 * <p>Date: 2016年2月23日 下午3:24:57
 * <p>Version: 1.0
 */
public class BaseTreeNodeBean implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 6527694636822679312L;
    
    private String id;
    
    private String text;
    
    private String parentId;
    
    private boolean expanded;
    
    private boolean leaf;
    
    private int nodeLevel;
    
    private List<BaseTreeNodeBean>children;
    
    private List<BaseTreeNodeBean> nodes;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }

    public int getNodeLevel() {
        return nodeLevel;
    }

    public void setNodeLevel(int nodeLevel) {
        this.nodeLevel = nodeLevel;
    }

    public List<BaseTreeNodeBean> getChildren() {
        return children;
    }

    public void setChildren(List<BaseTreeNodeBean> children) {
        this.children = children;
    }

    public List<BaseTreeNodeBean> getNodes() {
        return nodes;
    }

    public void setNodes(List<BaseTreeNodeBean> nodes) {
        this.nodes = nodes;
    }

    
    

}
